<%--
  Created by IntelliJ IDEA.
  User: dell
  Date: 2020/6/11
  Time: 13:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + request.getContextPath() + "/";
%>
<!DOCTYPE html>
<html>
<head>
    <base href="<%=basePath%>">
    <title>用户登录页面</title>
    <link rel="stylesheet" href="statics/css/bootstrap.min.css">
</head>
<body>
<div class="container">
    <p style="color: red">${msg}</p>
    <form action="user/login" method="post">
    <div class="row">
        <div class="col-md-12">
            <div class="form-group">
                <label for="username">用户名</label>
                <input type="text" id="username" name="username" class="form-control">
            </div>
        </div>
    </div>
        <div class="row">
            <div class="col-md-12">
                <div class="form-group">
                    <label for="userpassword">密码</label>
                    <input type="text" id="userpassword" name="password" class="form-control">
                </div>
            </div>
        </div>

        <div class="row">
            <div class="col-md-12">
                <button type="submit" class="btn btn-primary">登录</button>
            </div>
        </div>
    </form>
</div>
</body>
</html>
